#include<stdio.h>

int main()
{
	int a = 0;
	a = getchar();
	printf("%c\n", a);
	printf("%d\n", a);
	return 0;
}

